<div style="width: 50px;position: fixed;">
    <div style="height: 142px;"></div>
    <div class="web-show-leftbar">
        <a id="collect_icon"
           class="am-icon am-icon-star<?= $collectIconEx ?> web-gray-color"
           onclick="user_collect(this)" ;
           data-collect-id="<?= $shoeShowMsg->Id ?>"
           data-collect-type="1"></a>
    </div>
    <div class="web-show-leftbar">
        <a class="am-icon am-icon-comment<?= $commendIconEx ?> web-gray-color"
           data-forward="controller=comment&comment_edit_view=1&reply_id=0&parent_id=<?= $shoeShowMsg->Id ?>&parent_type=2"
           onclick="act_content(this)"></a>
    </div>
    <div class="web-show-leftbar">
        <a onclick="$('#weibo_publish').click();" class="am-icon am-icon-weibo web-gray-color"></a>
    </div>
    <div class="web-show-leftbar">
        <a class="am-icon am-icon-weixin web-gray-color"></a>
    </div>
    <?php
    if (isset($_SESSION['user_level']) && $_SESSION['user_level'] >= 90) {
        $userManage = TRUE; //当前用户为管理员
    }
    if (isset($_SESSION['user_id']) && $shoeShowMsg->Author == $_SESSION['user_id']) {
        $userAuthor = TRUE; //当前用户为作者
    }
    if (isset($userManage) || isset($userAuthor)) {
        //只有管理员或作者可以编辑
        ?>
        <div class="web-show-leftbar">
            <a class="am-icon am-icon-edit web-gray-color"
               data-forward="controller=shoe_show_edit&shoe_show_id=<?= $shoeShowMsg->Id ?>"
               onclick="top_left_bar_change(3); menu_l_close(); act_content(this)"></a>
        </div>
    <?php }
    if (isset($userManage)) { //只有管理员可以删除 ?>
        <div class="web-show-leftbar">
            <a class="am-icon am-icon-trash web-gray-color"
               onclick="shoe_show_dele(<?= $shoeShowMsg->Id ?>)"></a>
        </div>
    <?php } ?>
    <div class="web-show-leftbar">
        <a class="am-icon am-icon-arrow-up web-gray-color" onclick="$slide_level1.smoothScroll();"></a>
    </div>
</div>
<div style="width: 100%;">
    <div style="width: 50px;height: 50px;" class="web-split-2-left"></div>
    <div class="web-split-2-right">
        <div id="show_content_bar" style="width: 75%;padding-right: 10px;" class="web-split-2-left">
            <div style="height: 20px"></div>
            <div class="am-vertical-align">
                <a class="am-text-lg am-icon am-icon-arrow-circle-left am-icon-fw am-vertical-align-middle web-gray-color"
                   onclick="act_back()"></a>
                <span class="am-text-xs web-gray-color am-vertical-align-middle">
		        	当前位置：SNEAKER CUSTOM / 鞋主秀
		        </span>
            </div>
            <div style="height: 10px"></div>
            <div class="web-gray-color am-text-xs">
                <i class="am-icon am-icon-clock-o am-icon-fw"></i>&nbsp;<?= $shoeShowMsg->ReleaseDate ?>&nbsp;&nbsp;&nbsp;
                <i id="icon_recommend" class="am-icon am-icon-heart<?= $recommendIconEx ?> am-icon-fw"></i>&nbsp;<span
                        class="shoe_show_up_count"><?= $shoeShowMsg->UpCount ?></span>&nbsp;&nbsp;&nbsp;
                <i class="am-icon am-icon-comment<?= $commendIconEx ?> am-icon-fw"></i>&nbsp;<?= $shoeShowMsg->CommentCount ?>
                &nbsp;&nbsp;&nbsp;
                <i class="am-icon am-icon-eye am-icon-fw"></i>&nbsp;<?= $shoeShowMsg->ViewCount ?>
            </div>
            <div style="height: 30px"></div>
            <div>
                <b class="web-tittle-color">评论内容：&nbsp;&nbsp;</b><span
                        class="web-main-color"><?= $shoeShowMsg->Introd ?></span>
            </div>
            <div style="height: 10px"></div>
            <ul id="shoe_show_imgs" data-am-widget="gallery"
                class="am-gallery am-avg-sm-3 am-gallery-default" data-am-gallery="{pureview: 1}"
                style="margin-left: -10px">
                <?php
                $shoeShowImgList = explode(";", $shoeShowMsg->Picture);
                foreach ($shoeShowImgList as $Img) {
                    $shoeShowImg = make_img_name::make_img_mini_name($Img);
                    ?>
                    <li>
                        <div class="am-gallery-item">
                            <img src="<?= $CfgPara->httproot ?>/shoe_show_pic/<?= $shoeShowImg ?>"
                                 alt="" data-rel="<?= $CfgPara->httproot ?>/shoe_show_pic/<?= $Img ?>"/>
                        </div>
                    </li>
                <?php } ?>
            </ul>
            <div style="height: 30px"></div>
            <div class="web-main-color">
                <a class="am-fr web-show-btn" onclick="shoe_show_recommand(this);">
                    <i class="am-icon am-icon-heart-o"></i>&nbsp;&nbsp;<span class="web-tittle-color">推荐</span>
                </a>
                <span class="am-fr shoe_show_up_count"
                      style="padding-top: 4px;padding-right: 10px;padding-left: 10px"><?= $shoeShowMsg->UpCount ?></span>
                <a class="am-fr web-show-btn"
                   data-forward="controller=comment&comment_edit_view=1&reply_id=0&parent_id=<?= $shoeShowMsg->Id ?>&parent_type=2"
                   onclick="act_content(this)">
                    <i class="am-icon am-icon-comment-o"></i>&nbsp;&nbsp;<span class="web-tittle-color">评论</span>
                </a>
                <span id="comment_count" class="am-fr"
                      style="padding-top: 4px;padding-right: 10px"><?= $shoeShowMsg->CommentCount ?></span>
            </div>
            <div style="height: 50px"></div>
            <?php require("{$CfgPara->root}/controller/comment.c.php"); ?>
        </div>
        <div style="clear:right" class="web-split-2-right web-right-bar" id="show_right_bar">
            <div style="height: 50px"></div>
            <?php
            $UserName = $shoeShowMsg->UserName;
            $UserAvatar = $shoeShowMsg->UserAvatar;
            require("{$CfgPara->root}/view/web/user_view_mini.web.v.php");
            ?>
            <div style="height: 30px"></div>
            <?php require("{$CfgPara->root}/view/web/work_view_mini.web.v.php"); ?>
        </div>
        <script type="text/javascript">
            $.AMUI.gallery.init();
            //将右侧栏高度设置成与内容一致
            setTimeout(set_right_bar_height(), 200);
        </script>